package com.burst.reptile.modular.app.vo;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

import lombok.Data;

/**
 * 上传视频
 * @author wujin
 *
 * @date: 2020-9-14 13:32:16
 */
@Data
public class VideoVo implements Serializable{

	private static final long serialVersionUID = 1L;

	/**
	 * 标题
	 */
    @NotBlank(message = "标题不能为空")
    @Size(min = 5, max = 30, message = "标题不能超过30个字符")
	private String title;
	
	/**
	 * 正文
	 */
    @NotBlank(message = "正文内容不能为空")
    @Size(min = 0, max = 800, message = "正文内容不能超过800个字符")
	private String content;
}
